WP_Defender\Controller\HUB B

Total Complexity 76
Dependencies 30
Dependents 1
Total lines 607
Lines of code 464
Logical lines of code 222
Comment lines 95
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
import_settings()
A
44 11 43
defender_get_stats_v2()
A
32 3 128
manage_lockout()
A
48 7 39
listen_to_requests()
S
55 7 20
manage_global_ip_list()
S
54 4 22
schedule_scan()
S
55 4 20
export_settings()
S
56 4 17
manage_2fa()
S
57 3 17
manage_audit_log()
S
57 3 17
manage_recaptcha()
S
57 3 17
get_scan_progress()
S
59 3 16
whitelist_ip()
S
61 3 12
blacklist_ip()
S
61 3 12
set_global_ips()
S
60 2 14
new_scan()
S
61 2 13
add_hub_endpoint()
S
55 1 18
maybe_change_onboarding_status()
S
71 2 6
get_onboarding_status()
S
82 1 3
set_onboarding_status()
S
81 1 3
__construct()
S
72 1 5
export_strings()
S
82 1 3
import_data()
S
98 1 1
to_array()
S
98 1 1
data_frontend()
S
98 1 1
remove_data()
S
98 1 1
hub_sync()
S
68 1 8
get_stats()
S
72 1 6
remove_settings()
S
98 1 1